home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / PInterfaces / Windows.p < prev    next >
Encoding:
Text File  |  1998-02-12  |  1.4 KB  |  64 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        Windows.p
  3.  
  4.      Contains:    Window Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.1
  8.  
  9.      Copyright:    © 1984-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. }
  18. {
  19.     NOTE
  20.     
  21.     The file Windows.h has been renamed to "MacWindows.h" to prevent a collision
  22.     with the Microsoft Windows(tm) header file "Windows.h".  MacOS only developers may 
  23.     continue to use #include <Windows.h>.  Developers doing cross-platform work where 
  24.     Windows.h also exists should change their sources to use #include <MacWindows.h>
  25. }
  26. {$IFC UNDEFINED UsingIncludes}
  27. {$SETC UsingIncludes := 0}
  28. {$ENDC}
  29.  
  30. {$IFC NOT UsingIncludes}
  31.  UNIT Windows;
  32.  INTERFACE
  33. {$ENDC}
  34.  
  35. {$IFC UNDEFINED __WINDOWS__}
  36. {$SETC __WINDOWS__ := 1}
  37.  
  38. {$I+}
  39. {$SETC WindowsIncludes := UsingIncludes}
  40. {$SETC UsingIncludes := 1}
  41.  
  42. {$IFC UNDEFINED __CONDITIONALMACROS__}
  43. {$I ConditionalMacros.p}
  44. {$ENDC}
  45.  
  46. {$IFC TARGET_OS_MAC }
  47. {$IFC UNDEFINED __MACWINDOWS__}
  48. {$I MacWindows.p}
  49. {$ENDC}
  50. {$ELSEC}
  51. {
  52.     If you get here, your development environment is messed up.
  53.     This file is for MacOS development only.
  54. }
  55. {$ENDC}  {TARGET_OS_MAC}
  56.  
  57. {$SETC UsingIncludes := WindowsIncludes}
  58.  
  59. {$ENDC} {__WINDOWS__}
  60.  
  61. {$IFC NOT UsingIncludes}
  62.  END.
  63. {$ENDC}
  64.